const ComA=(props)=>{
    return (
        <fieldset>
            <legend>这是组件A</legend>
            <h1>夜袭寡妇村</h1>
        </fieldset>
    )
}
const ComB=(props)=>{
    return (
        <fieldset>
            <legend>这是组件B</legend>
            <h1>今朝有酒今朝醉</h1>
            <ComA/>
        </fieldset>
    )
}
export default ComB